<div class="zs-body" data-ng-init="formInit('gzrskqtj', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0}
    }) && loadData('gzrskqtj');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">人事管理</a>
            <i class="right-arr"></i>
            <a href="javascript:;">考勤统计</a>
        </div>
       <!-- <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
                ng-click="addRow('gzrskqtj') && openWindow('edit');"/>
            <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzrskqtj', gzrskqtj.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzrskqtj')"/>
        </div>-->
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="ID" ng-model="gzrskqtj.queryObject['id']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="保护区名称" ng-model="gzrskqtj.queryObject['bhqmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="保护区ID" ng-model="gzrskqtj.queryObject['bhqid']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="管理站名称" ng-model="gzrskqtj.queryObject['glzmc']"/>
                </span>
            <!--	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="管理站ID" ng-model="gzrskqtj.queryObject['glzid']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="考勤年度" ng-model="gzrskqtj.queryObject['kqnd']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="考勤月份" ng-model="gzrskqtj.queryObject['kqyf']"/>
                </span>
				<!--<span class="search-warpper">
                    <ag-Datebox id='qi_zbsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzrskqtj.queryObject['zbsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="考勤人ID" ng-model="gzrskqtj.queryObject['kqrid']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="考勤人名称" ng-model="gzrskqtj.queryObject['kqrmc']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="出勤总天数" ng-model="gzrskqtj.queryObject['cqzts']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="社区工作" ng-model="gzrskqtj.queryObject['sqgz']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="出差" ng-model="gzrskqtj.queryObject['chuchai']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="学习" ng-model="gzrskqtj.queryObject['xuexi']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="会议" ng-model="gzrskqtj.queryObject['huiyi']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="驻村" ng-model="gzrskqtj.queryObject['zhucun']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="科研" ng-model="gzrskqtj.queryObject['keyan']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="其他" ng-model="gzrskqtj.queryObject['qita']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="在站值班" ng-model="gzrskqtj.queryObject['zaizzb']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="备注" ng-model="gzrskqtj.queryObject['beizhu']"/>
                </span>-->
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gzrskqtj')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzrskqtj','allCheckbox');" />
                                    </th>
									<!--<th>ID</th>
									<th>保护区名称</th>
									<th>保护区ID</th>-->
									<th>管理站名称</th>
								<!--	<th>管理站ID</th>-->
									<th>考勤年度</th>
									<th>考勤月份</th>
									<th>制表时间</th>
								<!--	<th>考勤人ID</th>-->
									<th>考勤人名称</th>
									<th>出勤总天数</th>
									<th>社区工作</th>
									<th>出差</th>
									<th>学习</th>
									<th>会议</th>
									<th>驻村</th>
									<th>科研</th>
									<th>其他</th>
									<th>在站值班</th>
									<th>备注</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzrskqtj.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzrskqtj',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  保护区名称 -->
            						<!--<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.bhqmc"></label>
                                        </a>
                                   </td>-->
									<!--  保护区ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.bhqid"></label>
                                        </a>
                                   </td>-->
									<!--  管理站名称 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.glzmc"></label>
                                        </a>
                                   </td>
									<!--  管理站ID -->
            						<!--<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.glzid"></label>
                                        </a>
                                   </td>-->
									<!--  考勤年度 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.kqnd"></label>
                                        </a>
                                   </td>
									<!--  考勤月份 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.kqyf"></label>
                                        </a>
                                   </td>
									<!--  制表时间 -->
								   <td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.zbsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  考勤人ID -->
            					<!--	<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.kqrid"></label>
                                        </a>
                                   </td>-->
									<!--  考勤人名称 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.kqrmc"></label>
                                        </a>
                                   </td>
									<!--  出勤总天数 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.cqzts"></label>
                                        </a>
                                   </td>
									<!--  社区工作 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.sqgz"></label>
                                        </a>
                                   </td>
									<!--  出差 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.chuchai"></label>
                                        </a>
                                   </td>
									<!--  学习 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.xuexi"></label>
                                        </a>
                                   </td>
									<!--  会议 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.huiyi"></label>
                                        </a>
                                   </td>
									<!--  驻村 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.zhucun"></label>
                                        </a>
                                   </td>
									<!--  科研 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.keyan"></label>
                                        </a>
                                   </td>
									<!--  其他 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.qita"></label>
                                        </a>
                                   </td>
									<!--  在站值班 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.zaizzb"></label>
                                        </a>
                                   </td>
									<!--  备注 -->
            						<td>
                                        <a ng-click="editRow('gzrskqtj',r) && openWindow('edit');">
                                            <label ng-bind="r.beizhu"></label>
                                        </a>
                                   </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzrskqtj'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="考勤统计编辑" width='560px' height='420px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">保护区名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.bhqmc" class="zs-input" />
                                </td>
                          <!--  </tr>
          					<tr>
                                <td class="text" width="20%">保护区ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.bhqid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>-->
                                <td class="text" width="20%">管理站名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.glzmc" class="zs-input" />
                                </td>
                            </tr>
          				<!--	<tr>
                                <td class="text" width="20%">管理站ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.glzid" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">考勤年度</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.kqnd" class="zs-input" />
                                </td>
                           <!-- </tr>
          					<tr>-->
                                <td class="text" width="20%">考勤月份</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.kqyf" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">制表时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_zbsj'  showcurday='gzrskqtj.editRow.FIELD_ISNEW'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzrskqtj.editRow.zbsj" >
							   		</ag-Datebox>
                                </td>
                           <!-- </tr>
          					<tr>
                                <td class="text" width="20%">考勤人ID</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.kqrid" class="zs-input" />
                                </td>
                            </tr>
          					<tr>-->
                                <td class="text" width="20%">考勤人名称</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.kqrmc" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">出勤总天数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.cqzts" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">社区工作</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.sqgz" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">出差</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.chuchai" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">学习</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.xuexi" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">会议</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.huiyi" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">驻村</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.zhucun" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">科研</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.keyan" class="zs-input" />
                                </td>
                           
                                <td class="text" width="20%">其他</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.qita" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">在站值班</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.zaizzb" class="zs-input" />
                                </td>
                            
                                <td class="text" width="20%">备注</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzrskqtj.editRow.beizhu" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
                                        ng-click="formValidate(form) && save('gzrskqtj', gzrskqtj.editRow, saveCloseWindow)"/>
                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
                                        ng-click="closeWindow('edit')" />
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>